{% extends "VMSUserBundle::layout.html.twig" %}

{% block fos_user_content %}


<form action="{{ path("fos_user_security_check") }}" method="post" id="login_form">
    
    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
    <div class="top_b">Sign in to Gebo Admin</div>    
    
    {% if error %}
<div class="alert alert-info alert-login">{{ error|trans({}, 'FOSUserBundle') }}</div>
{% else %}
<div class="alert alert-info alert-login">
        Clear username and password field to see validation.
    </div>
{% endif %}
    <div class="cnt_b">
        <div class="formRow">
            <div class="input-prepend">
                <span class="add-on"><i class="icon-user"></i></span><input type="text" id="username" name="_username" placeholder="Username" value="Username" />
            </div>
        </div>
        <div class="formRow">
            <div class="input-prepend">
                <span class="add-on"><i class="icon-lock"></i></span><input type="password" id="password" name="_password" placeholder="Password" value="password" />
            </div>
        </div>
        <div class="formRow clearfix">
            <label class="checkbox"><input type="checkbox" id="remember_me" name="_remember_me"/> Remember me</label>
        </div>
    </div>
    <div class="btm_b clearfix">
        <button class="btn btn-inverse pull-right" type="submit" id="_submit" name="_submit">Sign In</button>
        <span class="link_reg"><a href="{{path('fos_user_registration_register')}}">Not registered? Sign up here</a></span>
    </div>  
</form>


{% endblock fos_user_content %}